//
//  VFZOOBJLCFMineAddressListCellbCUwJx.m
//  qcb_ios
//
//  Created by Ji on 2018/9/3.
//  Copyright © 2018年 ski. All rights reserved.
//

#import "VFZOOBJLCFMineAddressListCellbCUwJx.h"

@interface VFZOOBJLCFMineAddressListCellbCUwJx ()

@property (nonatomic, strong) UILabel *dRkRdaaccountTitleLabeljGWzPW;

@property (nonatomic, strong) UILabel *ZDJcUsaccountLabelfsESOo;

@property (nonatomic, strong) UIImageView *qTVbTrarrowImgwIPROn;

@property (nonatomic, strong) UILabel *NdgzxmdesLabelTTSqri;

@end

@implementation VFZOOBJLCFMineAddressListCellbCUwJx

- (void)reloadData
{
    
    if (self.address) {
        
        if (!self.dRkRdaaccountTitleLabeljGWzPW) {
            self.dRkRdaaccountTitleLabeljGWzPW = [UILabel labelWithText:@"账户" textColor:QTZ_Gray102 font:FONT(13)];
            self.dRkRdaaccountTitleLabeljGWzPW.left = 25;
            self.dRkRdaaccountTitleLabeljGWzPW.top = 10;
            [self addSubview:self.dRkRdaaccountTitleLabeljGWzPW];
        }
        
        if (!self.ZDJcUsaccountLabelfsESOo) {
            self.ZDJcUsaccountLabelfsESOo = [UILabel new];
            self.ZDJcUsaccountLabelfsESOo.textColor = QTZ_Gray51;
            self.ZDJcUsaccountLabelfsESOo.font = FONT(12);
            [self addSubview:self.ZDJcUsaccountLabelfsESOo];
        }
        
        if (self.ZDJcUsaccountLabelfsESOo) {
            self.ZDJcUsaccountLabelfsESOo.text = self.address.phone;
            [self.ZDJcUsaccountLabelfsESOo sizeToFit];
            self.ZDJcUsaccountLabelfsESOo.centerX = FULL_WIDTH / 2;
            self.ZDJcUsaccountLabelfsESOo.centerY = self.dRkRdaaccountTitleLabeljGWzPW.centerY;
        }
        
        if (!self.qTVbTrarrowImgwIPROn) {
            self.qTVbTrarrowImgwIPROn = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_list_detail_arrow"]];
            self.qTVbTrarrowImgwIPROn.centerY = 30;
            self.qTVbTrarrowImgwIPROn.right = FULL_WIDTH - 25;
            [self addSubview:self.qTVbTrarrowImgwIPROn];
        }
        
        if (!self.NdgzxmdesLabelTTSqri) {
            self.NdgzxmdesLabelTTSqri = [UILabel new];
            self.NdgzxmdesLabelTTSqri.textColor = QTZ_Gray102;
            self.NdgzxmdesLabelTTSqri.font = FONT(13);
            [self addSubview:self.NdgzxmdesLabelTTSqri];
        }
        
        if (self.NdgzxmdesLabelTTSqri) {
            self.NdgzxmdesLabelTTSqri.text = [NSString stringWithFormat:@"%@%@%@%@", self.address.shengfen, self.address.city, self.address.adress, self.address.adressDeatil];
            [self.NdgzxmdesLabelTTSqri sizeToFit];
            self.NdgzxmdesLabelTTSqri.left = self.dRkRdaaccountTitleLabeljGWzPW.left;
            self.NdgzxmdesLabelTTSqri.top = 35;
        }
        
        
        
        
        
    }
    
    
}

@end
